package com.fearless.test20210503.function;

import java.util.function.Supplier;

/*
java.util.function
        四大函数式接口：
            supplier
     参数为空，只有返回值

 */
public class Demo04 {
    public static void main(String[] args) {
        Supplier<String> supplier=()->{return "123";};

    }

}
